import request from '@/utils/request'

// 查询文件
export const getDateFile = (query) => {
  return request({
    url: '/gps/dateFile/list',
    method: 'get',
    params: query,
    // isTwo: true
  })
}
// 添加文件
export const addDateFile = (query) => {
  return request({
    url: '/gps/dateFile',
    method: 'post',
    data: query
  })
}
// 修改文件
export const editDateFile = (query) => {
  return request({
    url: '/gps/dateFile',
    method: 'put',
    data: query
  })
}
// 查询每日菜谱
export const selectDayMenu = (query) => {
  return request({
    url: '/system/doseMenuDetail/selectDayMenu',
    method: 'get',
    params: query,
    isHq: true
  })
}
// 菜谱确认统计
export const selectDayMenuLog = (query) => {
  return request({
    url: '/system/doseMenuLog/selectDayMenuLog',
    method: 'get',
    params: query,
    isHq: true
  })
}
// 查询中标记录
export const selectProjectLogDay = (query) => {
  return request({
    url: '/system/projectLog/selectProjectLogDay',
    method: 'get',
    params: query,
    isHq: true
  })
}
// 目测检查统计
export const selectDayMenuConfirm = (query) => {
  return request({
    url: '/system/doseMenuLog/selectDayMenuConfirm',
    method: 'get',
    params: query,
    isHq: true
  })
}
// 称重分拣统计
export const selectWeightDay = (query) => {
  return request({
    url: '/system/projectCheckDetail/selectWeightDay',
    method: 'get',
    params: query,
    isHq: true
  })
}
// 物流统计
export const selectDeliveryDay = (query) => {
  return request({
    url: '/system/delivery/selectDeliveryDay',
    method: 'get',
    params: query,
    isHq: true
  })
}

// 验收统计
export const selectCheckDay = (query) => {
  return request({
    url: '/system/check/selectCheckDay',
    method: 'get',
    params: query,
    isHq: true
  })
}
// 留样列表
export const selectDoseDay = (query) => {
  return request({
    url: '/system/dose/selectDoseDay',
    method: 'get',
    params: query,
    isHq: true
  })
}